idf_build_get_property(target IDF_TARGET)

if(${target} STREQUAL "linux")
    set(requires esp_psram esp_event esp_stubs protocol_examples_common nvs_flash freertos)
endif()


set(include_dirs 
    .
    ../components/wolfssl
    ../components/bsp
    ../components/sntp
    ../components/boat
    )

idf_component_register(SRCS  "boat_main.c" 
                                INCLUDE_DIRS ${include_dirs}
                                REQUIRES ${requires})
